package com.baizhi.service;

import com.baizhi.entity.Hero;
import com.github.pagehelper.PageInfo;

public interface HeroService {
    PageInfo selectByPage(int pageNo,int pageSize);
    void delete(int id);
    public Hero selectOne(int id);
    public void update(Hero hero);
    public void add(Hero hero);
}
